python LEC_SCM.py